package com.wlyuan.open.dao.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2022-07-05
 */
@Data
@TableName("t_open_client")
@ApiModel(value = "OpenClientDO对象", description = "")
public class OpenClientDO implements Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;
    private String appId;
    private String appSecret;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String name;
    private String mobile;
    private String apiList;

    private String sourceRaw;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long userId;
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long tenantId;

    private LocalDateTime createAt;

    private LocalDateTime updateAt;

    private Integer status;

    private String updateBy;

    private String reason;
}
